//
//  HYVideoPlayerViewController.h
//  HYVideoPlayer
//
//  Created by liguoqing on 2023/7/21.
//

#import <HYBaseVideo/HYRotateViewController.h>
#import <HYVideoPlayer/HYVideoPlayerConfig.h>
#import <HYVideoPlayer/HYVideoPlayerManager.h>
#import <HYVideoPlayer/HYVideoPlayerBottomView.h>
#import "HYVideoViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HYVideoRoomViewController : HYRotateViewController

- (instancetype)initWithViewModel:(HYVideoViewModel *)viewModel;
/// 初始化
/// - Parameter config: 播放器基础配置
- (instancetype)initWithConfig:(HYVideoPlayerConfig *)config;
/// 切换音视频
- (void)changeAudioWithPlayUrl:(NSString *)playUrl;
/// 视频全屏
- (void)fullShowVideo:(BOOL)isFull;
/// 停止播放
- (void)stop;
/// 是否是通过扫码播放
@property (nonatomic, assign) BOOL isQRSan;
/// 播放器管理类
@property (nonatomic, strong) HYVideoPlayerManager *playerManager;
/// 横屏底部工具栏
@property (nonatomic, strong) HYVideoPlayerBottomView *bottomToolBar;


@end

NS_ASSUME_NONNULL_END
